home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The School House• / Memory v2.1 •••• / Memory 2.1 / Memory 2.1.rsrc / CODE_2.txt < prev    next >
Text File  |  1987-05-10  |  58KB  |  997 lines

  1. # near model CODE resource
  2. # jump table entries: 264-264 (1 of them)
  3. export_33:
  4. 00000000  4E56 FFF8                link       A6, -0x0008
  5. 00000004  48E7 0108                movem.l    -[A7], D7,A4
  6. 00000008  49ED F252                lea.l      A4, [A5 - 0xDAE]
  7. 0000000C  2F0C                     move.l     -[A7], A4
  8. 0000000E  A86E                     syscall    InitGraf
  9. 00000010  4EAD 00CA                jsr        [A5 + 0xCA /* export_21 */]
  10. 00000014  A8FE                     syscall    InitFonts
  11. 00000016  3F3C FFFF                move.w     -[A7], 0xFFFF
  12. 0000001A  4267                     clr.w      -[A7]
  13. 0000001C  201F                     move.l     D0, [A7]+
  14. 0000001E  A032                     syscall    FlushEvents
  15. 00000020  A912                     syscall    InitWindows
  16. 00000022  A930                     syscall    InitMenus
  17. 00000024  A9CC                     syscall    TEInit
  18. 00000026  42A7                     clr.l      -[A7]
  19. 00000028  A97B                     syscall    InitDialogs
  20. 0000002A  1F3C 0001                move.b     -[A7], 0x1
  21. 0000002E  A993                     syscall    SetResPurge
  22. 00000030  42AD F266                clr.l      [A5 - 0xD9A]
  23. 00000034  42AD F26A                clr.l      [A5 - 0xD96]
  24. 00000038  42AD F272                clr.l      [A5 - 0xD8E]
  25. 0000003C  42AD F2B8                clr.l      [A5 - 0xD48]
  26. 00000040  598F                     subq.l     A7, 4
  27. 00000042  A8D8                     syscall    NewRgn
  28. 00000044  2E1F                     move.l     D7, [A7]+
  29. 00000046  2B47 F28A                move.l     [A5 - 0xD76], D7
  30. 0000004A  1B7A 00B2 FDF2           move.b     [A5 - 0x20E], [PC + 0xB2 /* 000000FE, value 0x0, cstring "" */]
  31. 00000050  4EBA 00AE                jsr        [PC + 0xAE /* 00000100 */]
  32. 00000054  4EBA 032A                jsr        [PC + 0x32A /* 00000380 */]
  33. 00000058  486E FFFC                pea.l      [A6 - 0x4]
  34. 0000005C  A910                     syscall    GetWMgrPort
  35. 0000005E  286E FFFC                movea.l    A4, [A6 - 0x4]
  36. 00000062  2B6C 0008 FB68           move.l     [A5 - 0x498], [A4 + 0x8]
  37. 00000068  2B6C 000C FB6C           move.l     [A5 - 0x494], [A4 + 0xC]
  38. 0000006E  4EBA 0282                jsr        [PC + 0x282 /* 000002F2 */]
  39. 00000072  558F                     subq.l     A7, 2
  40. 00000074  4EBA 03CC                jsr        [PC + 0x3CC /* 00000442 */]
  41. 00000078  1E1F                     move.b     D7, [A7]+
  42. 0000007A  1D47 FFFA                move.b     [A6 - 0x6], D7
  43. 0000007E  0C2D 0004 FB70           cmpi.b     [A5 - 0x490], 0x4
  44. 00000084  6600 0006                bne        +0x8 /* 0000008C */
  45. 00000088  4EFA 006C                jmp        [PC + 0x6C /* 000000F6 */]
  46. label0000008C:
  47. 0000008C  4EBA 063E                jsr        [PC + 0x63E /* 000006CC */]
  48. 00000090  558F                     subq.l     A7, 2
  49. 00000092  4EBA 0844                jsr        [PC + 0x844 /* 000008D8 */]
  50. 00000096  1E1F                     move.b     D7, [A7]+
  51. 00000098  1D47 FFF8                move.b     [A6 - 0x8], D7
  52. 0000009C  0C2D 0004 FB70           cmpi.b     [A5 - 0x490], 0x4
  53. 000000A2  6600 0006                bne        +0x8 /* 000000AA */
  54. 000000A6  4EFA 004E                jmp        [PC + 0x4E /* 000000F6 */]
  55. label000000AA:
  56. 000000AA  4EBA 0936                jsr        [PC + 0x936 /* 000009E2 */]
  57. 000000AE  4EBA 0A00                jsr        [PC + 0xA00 /* 00000AB0 */]
  58. 000000B2  4A2E FFFA                tst.b      [A6 - 0x6]
  59. 000000B6  6700 0014                beq        +0x16 /* 000000CC */
  60. 000000BA  4EAD 01C2                jsr        [A5 + 0x1C2 /* export_52 */]
  61. 000000BE  0C2D 0004 FB70           cmpi.b     [A5 - 0x490], 0x4
  62. 000000C4  6600 0006                bne        +0x8 /* 000000CC */
  63. 000000C8  4EFA 002C                jmp        [PC + 0x2C /* 000000F6 */]
  64. label000000CC:
  65. 000000CC  4A2E FFF8                tst.b      [A6 - 0x8]
  66. 000000D0  6700 0020                beq        +0x22 /* 000000F2 */
  67. 000000D4  4EAD 0132                jsr        [A5 + 0x132 /* export_34 */]
  68. label000000D8:
  69. 000000D8  558F                     subq.l     A7, 2
  70. 000000DA  3F3C 0040                move.w     -[A7], 0x40 /* '@' */
  71. 000000DE  486D F256                pea.l      [A5 - 0xDAA]
  72. 000000E2  A970                     syscall    GetNextEvent
  73. 000000E4  1E1F                     move.b     D7, [A7]+
  74. 000000E6  6700 000A                beq        +0xC /* 000000F2 */
  75. 000000EA  4EAD 02A2                jsr        [A5 + 0x2A2 /* export_80 */]
  76. 000000EE  4EFA FFE8                jmp        [PC - 0x18 /* 000000D8 */]
  77. label000000F2:
  78. 000000F2  4EAD 01B2                jsr        [A5 + 0x1B2 /* export_50 */]
  79. label000000F6:
  80. 000000F6  4CDF 1080                movem.l    D7,A4, [A7]+
  81. 000000FA  4E5E                     unlink     A6
  82. 000000FC  4E75                     rts
  83. 000000FE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  84. // begin alternate branch 00000100-00000108
  85. fn00000100:
  86. 00000100  4E56 FE90                link       A6, -0x0170
  87. 00000104  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  88. // end alternate branch 00000100-00000108
  89. fn00000100: // (misaligned)
  90. 00000102  FE90 48E7                .extension 0xE90 <<F/2-3/7>> // unimplemented
  91. 00000106  0718                     btst       [A0]+, D3
  92. 00000108  1B7A 01E6 FEF2           move.b     [A5 - 0x10E], [PC + 0x1E6 /* 000002F0, value 0x0, cstring "" */]
  93. 0000010E  558F                     subq.l     A7, 2
  94. 00000110  49ED FDF2                lea.l      A4, [A5 - 0x20E]
  95. 00000114  2F0C                     move.l     -[A7], A4
  96. 00000116  486D F2CA                pea.l      [A5 - 0xD36]
  97. 0000011A  4EAD 00AA                jsr        [A5 + 0xAA /* export_17 */]
  98. 0000011E  3E1F                     move.w     D7, [A7]+
  99. 00000120  3B47 F2CC                move.w     [A5 - 0xD34], D7
  100. 00000124  558F                     subq.l     A7, 2
  101. 00000126  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  102. 0000012A  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  103. 0000012E  1E1F                     move.b     D7, [A7]+
  104. 00000130  6700 0006                beq        +0x8 /* 00000138 */
  105. 00000134  4EFA 01A8                jmp        [PC + 0x1A8 /* 000002DE */]
  106. label00000138:
  107. 00000138  558F                     subq.l     A7, 2
  108. 0000013A  3F3C FFFF                move.w     -[A7], 0xFFFF
  109. 0000013E  486D F256                pea.l      [A5 - 0xDAA]
  110. 00000142  A971                     syscall    EventAvail
  111. 00000144  1E1F                     move.b     D7, [A7]+
  112. 00000146  1D47 FE90                move.b     [A6 - 0x170], D7
  113. 0000014A  486E FFFE                pea.l      [A6 - 0x2]
  114. 0000014E  486E FFFC                pea.l      [A6 - 0x4]
  115. 00000152  4EAD 0072                jsr        [A5 + 0x72 /* export_10 */]
  116. 00000156  0C6E 0001 FFFE           cmpi.w     [A6 - 0x2], 0x1
  117. 0000015C  6600 0008                bne        +0xA /* 00000166 */
  118. 00000160  A9F4                     syscall    ExitToShell
  119. 00000162  4EFA 0120                jmp        [PC + 0x120 /* 00000284 */]
  120. label00000166:
  121. 00000166  0C6E 0000 FFFC           cmpi.w     [A6 - 0x4], 0x0
  122. 0000016C  6F00 007E                ble        +0x80 /* 000001EC */
  123. 00000170  3F3C 0001                move.w     -[A7], 0x1
  124. 00000174  486E FEF0                pea.l      [A6 - 0x110]
  125. 00000178  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  126. 0000017C  3F3C 0004                move.w     -[A7], 0x4
  127. 00000180  486E FEF2                pea.l      [A6 - 0x10E]
  128. 00000184  3F3C 0004                move.w     -[A7], 0x4
  129. 00000188  487A 0162                pea.l      [PC + 0x162 /* 000002EC, value 0x4946494C 'IFIL', cstring "IFIL" */]
  130. 0000018C  4EAD 010A                jsr        [A5 + 0x10A /* export_29 */]
  131. 00000190  6600 0056                bne        +0x58 /* 000001E8 */
  132. 00000194  558F                     subq.l     A7, 2
  133. 00000196  42A7                     clr.l      -[A7]
  134. 00000198  3F2E FEF0                move.w     -[A7], [A6 - 0x110]
  135. 0000019C  4EAD 00A2                jsr        [A5 + 0xA2 /* export_16 */]
  136. 000001A0  3E1F                     move.w     D7, [A7]+
  137. 000001A2  3B47 F2CC                move.w     [A5 - 0xD34], D7
  138. 000001A6  558F                     subq.l     A7, 2
  139. 000001A8  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  140. 000001AC  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  141. 000001B0  1E1F                     move.b     D7, [A7]+
  142. 000001B2  6700 0006                beq        +0x8 /* 000001BA */
  143. 000001B6  4EFA 0126                jmp        [PC + 0x126 /* 000002DE */]
  144. label000001BA:
  145. 000001BA  558F                     subq.l     A7, 2
  146. 000001BC  486E FEF8                pea.l      [A6 - 0x108]
  147. 000001C0  A997                     syscall    OpenResFile
  148. 000001C2  3E1F                     move.w     D7, [A7]+
  149. 000001C4  3D47 FFFA                move.w     [A6 - 0x6], D7
  150. 000001C8  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  151. 000001CC  A998                     syscall    UseResFile
  152. 000001CE  3F3C 0001                move.w     -[A7], 0x1
  153. 000001D2  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  154. 000001D6  49ED FEF2                lea.l      A4, [A5 - 0x10E]
  155. 000001DA  47EE FEF8                lea.l      A3, [A6 - 0x108]
  156. 000001DE  4247                     clr.w      D7
  157. 000001E0  1E13                     move.b     D7, [A3]
  158. label000001E2:
  159. 000001E2  18DB                     move.b     [A4]+, [A3]+
  160. 000001E4  51CF FFFC                dbf        D7, -0x6 /* 000001E2 */
  161. label000001E8:
  162. 000001E8  4EFA 009A                jmp        [PC + 0x9A /* 00000284 */]
  163. label000001EC:
  164. 000001EC  4287                     clr.l      D7
  165. 000001EE  3E2D F264                move.w     D7, [A5 - 0xD9C]
  166. 000001F2  4286                     clr.l      D6
  167. 000001F4  3C3C 0800                move.w     D6, 0x800
  168. 000001F8  CC87                     and.l      D6, D7
  169. 000001FA  4A86                     tst.l      D6
  170. 000001FC  6600 0086                bne        +0x88 /* 00000284 */
  171. 00000200  486E FEEC                pea.l      [A6 - 0x114]
  172. 00000204  3F3C 0055                move.w     -[A7], 0x55 /* 'U' */
  173. 00000208  3F3C 0064                move.w     -[A7], 0x64 /* 'd' */
  174. 0000020C  A880                     syscall    SetPt
  175. 0000020E  2D7A 00D8 FEDC           move.l     [A6 - 0x124], [PC + 0xD8 /* 000002E8, value 0x4946494C 'IFIL', cstring "IFILIFIL" */]
  176. 00000214  2F2E FEEC                move.l     -[A7], [A6 - 0x114]
  177. 00000218  487A 00CC                pea.l      [PC + 0xCC /* 000002E6, value 0x4946 'IF', cstring "" */]
  178. 0000021C  42A7                     clr.l      -[A7]
  179. 0000021E  3F3C 0001                move.w     -[A7], 0x1
  180. 00000222  486E FEDC                pea.l      [A6 - 0x124]
  181. 00000226  42A7                     clr.l      -[A7]
  182. 00000228  486E FE92                pea.l      [A6 - 0x16E]
  183. 0000022C  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  184. 00000230  4A2E FE92                tst.b      [A6 - 0x16E]
  185. 00000234  6700 004E                beq        +0x50 /* 00000284 */
  186. 00000238  558F                     subq.l     A7, 2
  187. 0000023A  42A7                     clr.l      -[A7]
  188. 0000023C  3F2E FE98                move.w     -[A7], [A6 - 0x168]
  189. 00000240  4EAD 00A2                jsr        [A5 + 0xA2 /* export_16 */]
  190. 00000244  3E1F                     move.w     D7, [A7]+
  191. 00000246  3B47 F2CC                move.w     [A5 - 0xD34], D7
  192. 0000024A  558F                     subq.l     A7, 2
  193. 0000024C  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  194. 00000250  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  195. 00000254  1E1F                     move.b     D7, [A7]+
  196. 00000256  6700 0006                beq        +0x8 /* 0000025E */
  197. 0000025A  4EFA 0082                jmp        [PC + 0x82 /* 000002DE */]
  198. label0000025E:
  199. 0000025E  558F                     subq.l     A7, 2
  200. 00000260  486E FE9C                pea.l      [A6 - 0x164]
  201. 00000264  A997                     syscall    OpenResFile
  202. 00000266  3E1F                     move.w     D7, [A7]+
  203. 00000268  3D47 FFFA                move.w     [A6 - 0x6], D7
  204. 0000026C  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  205. 00000270  A998                     syscall    UseResFile
  206. 00000272  49ED FEF2                lea.l      A4, [A5 - 0x10E]
  207. 00000276  47EE FE9C                lea.l      A3, [A6 - 0x164]
  208. 0000027A  4247                     clr.w      D7
  209. 0000027C  1E13                     move.b     D7, [A3]
  210. label0000027E:
  211. 0000027E  18DB                     move.b     [A4]+, [A3]+
  212. 00000280  51CF FFFC                dbf        D7, -0x6 /* 0000027E */
  213. label00000284:
  214. 00000284  3E3C 0000                move.w     D7, 0x0
  215. 00000288  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  216. 0000028C  6E00 002A                bgt        +0x2C /* 000002B8 */
  217. label00000290:
  218. 00000290  3C07                     move.w     D6, D7
  219. 00000292  E54E                     lsl        D6.w, 2
  220. 00000294  49ED F2CE                lea.l      A4, [A5 - 0xD32]
  221. 00000298  598F                     subq.l     A7, 4
  222. 0000029A  3A07                     move.w     D5, D7
  223. 0000029C  0645 03E8                addi.w     D5, 0x3E8
  224. 000002A0  3F05                     move.w     -[A7], D5
  225. 000002A2  A9BB                     syscall    GetIcon
  226. 000002A4  2A1F                     move.l     D5, [A7]+
  227. 000002A6  2985 6000                move.l     [A4 + D6.w], D5
  228. 000002AA  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  229. 000002AE  6C00 0008                bge        +0xA /* 000002B8 */
  230. 000002B2  5247                     addq.w     D7, 1
  231. 000002B4  4EFA FFDA                jmp        [PC - 0x26 /* 00000290 */]
  232. label000002B8:
  233. 000002B8  558F                     subq.l     A7, 2
  234. 000002BA  42A7                     clr.l      -[A7]
  235. 000002BC  3F2D F2CA                move.w     -[A7], [A5 - 0xD36]
  236. 000002C0  4EAD 00A2                jsr        [A5 + 0xA2 /* export_16 */]
  237. 000002C4  3E1F                     move.w     D7, [A7]+
  238. 000002C6  3B47 F2CC                move.w     [A5 - 0xD34], D7
  239. 000002CA  558F                     subq.l     A7, 2
  240. 000002CC  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  241. 000002D0  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  242. 000002D4  1E1F                     move.b     D7, [A7]+
  243. 000002D6  6700 0006                beq        +0x8 /* 000002DE */
  244. 000002DA  4EFA 0002                jmp        [PC + 0x2 /* 000002DE */]
  245. label000002DE:
  246. 000002DE  4CDF 18E0                movem.l    D5,D6,D7,A3,A4, [A7]+
  247. 000002E2  4E5E                     unlink     A6
  248. 000002E4  4E75                     rts
  249. 000002E6  0000 4946                ori.b      D0, 0x46 /* 'F' */
  250. 000002EA  494C                     chk.w      D4, A4
  251. 000002EC  4946                     chk.w      D4, D6
  252. 000002EE  494C                     chk.w      D4, A4
  253. 000002F0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  254. // begin alternate branch 000002F2-000002FA
  255. fn000002F2:
  256. 000002F2  4E56 0000                link       A6, 0
  257. 000002F6  48E7 0100                movem.l    -[A7], D7
  258. // end alternate branch 000002F2-000002FA
  259. fn000002F2: // (misaligned)
  260. 000002F4  0000 48E7                ori.b      D0, 0xE7
  261. 000002F8  0100                     btst       D0, D0
  262. 000002FA  598F                     subq.l     A7, 4
  263. 000002FC  3F3C 0001                move.w     -[A7], 0x1
  264. 00000300  A9BF                     syscall    GetRMenu
  265. 00000302  2E1F                     move.l     D7, [A7]+
  266. 00000304  2B47 F276                move.l     [A5 - 0xD8A], D7
  267. 00000308  2F2D F276                move.l     -[A7], [A5 - 0xD8A]
  268. 0000030C  2F3A 006E                move.l     -[A7], [PC + 0x6E /* 0000037C, value 0x44525652 'DRVR' */]
  269. 00000310  A94D                     syscall    AppendResMenu/AddResMenu
  270. 00000312  2F2D F276                move.l     -[A7], [A5 - 0xD8A]
  271. 00000316  4267                     clr.w      -[A7]
  272. 00000318  A935                     syscall    InsertMenu
  273. 0000031A  598F                     subq.l     A7, 4
  274. 0000031C  3F3C 0002                move.w     -[A7], 0x2
  275. 00000320  A9BF                     syscall    GetRMenu
  276. 00000322  2E1F                     move.l     D7, [A7]+
  277. 00000324  2B47 F27A                move.l     [A5 - 0xD86], D7
  278. 00000328  2F2D F27A                move.l     -[A7], [A5 - 0xD86]
  279. 0000032C  4267                     clr.w      -[A7]
  280. 0000032E  A935                     syscall    InsertMenu
  281. 00000330  598F                     subq.l     A7, 4
  282. 00000332  3F3C 0003                move.w     -[A7], 0x3
  283. 00000336  A9BF                     syscall    GetRMenu
  284. 00000338  2E1F                     move.l     D7, [A7]+
  285. 0000033A  2B47 F27E                move.l     [A5 - 0xD82], D7
  286. 0000033E  2F2D F27E                move.l     -[A7], [A5 - 0xD82]
  287. 00000342  4267                     clr.w      -[A7]
  288. 00000344  A935                     syscall    InsertMenu
  289. 00000346  598F                     subq.l     A7, 4
  290. 00000348  3F3C 0004                move.w     -[A7], 0x4
  291. 0000034C  A9BF                     syscall    GetRMenu
  292. 0000034E  2E1F                     move.l     D7, [A7]+
  293. 00000350  2B47 F282                move.l     [A5 - 0xD7E], D7
  294. 00000354  2F2D F282                move.l     -[A7], [A5 - 0xD7E]
  295. 00000358  4267                     clr.w      -[A7]
  296. 0000035A  A935                     syscall    InsertMenu
  297. 0000035C  598F                     subq.l     A7, 4
  298. 0000035E  3F3C 0005                move.w     -[A7], 0x5
  299. 00000362  A9BF                     syscall    GetRMenu
  300. 00000364  2E1F                     move.l     D7, [A7]+
  301. 00000366  2B47 F286                move.l     [A5 - 0xD7A], D7
  302. 0000036A  2F2D F286                move.l     -[A7], [A5 - 0xD7A]
  303. 0000036E  4267                     clr.w      -[A7]
  304. 00000370  A935                     syscall    InsertMenu
  305. 00000372  A937                     syscall    DrawMenuBar
  306. 00000374  4CDF 0080                movem.l    D7, [A7]+
  307. 00000378  4E5E                     unlink     A6
  308. 0000037A  4E75                     rts
  309. 0000037C  4452                     neg.w      [A2]
  310. 0000037E  5652                     addq.w     [A2], 3
  311. fn00000380:
  312. 00000380  4E56 FFF4                link       A6, -0x000C
  313. 00000384  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  314. 00000388  598F                     subq.l     A7, 4
  315. 0000038A  3F3C 03E8                move.w     -[A7], 0x3E8
  316. 0000038E  A9B9                     syscall    GetCursor
  317. 00000390  2E1F                     move.l     D7, [A7]+
  318. 00000392  2B47 F292                move.l     [A5 - 0xD6E], D7
  319. 00000396  3E3C 0000                move.w     D7, 0x0
  320. 0000039A  0C47 0003                cmpi.w     D7, 0x3
  321. 0000039E  6E00 0030                bgt        +0x32 /* 000003D0 */
  322. label000003A2:
  323. 000003A2  3C3C 03E9                move.w     D6, 0x3E9
  324. 000003A6  DC47                     add.w      D6, D7
  325. 000003A8  3D46 FFFC                move.w     [A6 - 0x4], D6
  326. 000003AC  3C07                     move.w     D6, D7
  327. 000003AE  E54E                     lsl        D6.w, 2
  328. 000003B0  49ED F296                lea.l      A4, [A5 - 0xD6A]
  329. 000003B4  598F                     subq.l     A7, 4
  330. 000003B6  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  331. 000003BA  A9B9                     syscall    GetCursor
  332. 000003BC  2A1F                     move.l     D5, [A7]+
  333. 000003BE  2985 6000                move.l     [A4 + D6.w], D5
  334. 000003C2  0C47 0003                cmpi.w     D7, 0x3
  335. 000003C6  6C00 0008                bge        +0xA /* 000003D0 */
  336. 000003CA  5247                     addq.w     D7, 1
  337. 000003CC  4EFA FFD4                jmp        [PC - 0x2C /* 000003A2 */]
  338. label000003D0:
  339. 000003D0  598F                     subq.l     A7, 4
  340. 000003D2  2F3A 006A                move.l     -[A7], [PC + 0x6A /* 0000043E, value 0x53504F54 'SPOT' */]
  341. 000003D6  3F3C 03E8                move.w     -[A7], 0x3E8
  342. 000003DA  A9A0                     syscall    GetResource
  343. 000003DC  2E1F                     move.l     D7, [A7]+
  344. 000003DE  2D47 FFF8                move.l     [A6 - 0x8], D7
  345. 000003E2  2B6E FFF8 F6A2           move.l     [A5 - 0x95E], [A6 - 0x8]
  346. 000003E8  598F                     subq.l     A7, 4
  347. 000003EA  2F3A 004E                move.l     -[A7], [PC + 0x4E /* 0000043A, value 0x5349434E 'SICN' */]
  348. 000003EE  3F3C 03E8                move.w     -[A7], 0x3E8
  349. 000003F2  A9A0                     syscall    GetResource
  350. 000003F4  2E1F                     move.l     D7, [A7]+
  351. 000003F6  2D47 FFF4                move.l     [A6 - 0xC], D7
  352. 000003FA  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  353. 000003FE  4EAD 00EA                jsr        [A5 + 0xEA /* export_25 */]
  354. 00000402  286E FFF4                movea.l    A4, [A6 - 0xC]
  355. 00000406  2B54 F2AA                move.l     [A5 - 0xD56], [A4]
  356. 0000040A  3B7C 0002 F2AE           move.w     [A5 - 0xD52], 0x2
  357. 00000410  486D F2B0                pea.l      [A5 - 0xD50]
  358. 00000414  4267                     clr.w      -[A7]
  359. 00000416  4267                     clr.w      -[A7]
  360. 00000418  3F3C 0010                move.w     -[A7], 0x10
  361. 0000041C  3F3C 0010                move.w     -[A7], 0x10
  362. 00000420  A8A7                     syscall    SetRect
  363. 00000422  598F                     subq.l     A7, 4
  364. 00000424  3F3C 0004                move.w     -[A7], 0x4
  365. 00000428  A9B9                     syscall    GetCursor
  366. 0000042A  2E1F                     move.l     D7, [A7]+
  367. 0000042C  2B47 F28E                move.l     [A5 - 0xD72], D7
  368. 00000430  A850                     syscall    InitCursor
  369. 00000432  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  370. 00000436  4E5E                     unlink     A6
  371. 00000438  4E75                     rts
  372. 0000043A  5349                     subq.w     A1, 1
  373. 0000043C  434E                     chk.w      D1, A6
  374. 0000043E  5350                     subq.w     [A0], 1
  375. 00000440  4F54                     chk.w      D7, [A4]
  376. fn00000442:
  377. 00000442  4E56 FFF0                link       A6, -0x0010
  378. 00000446  48E7 0118                movem.l    -[A7], D7,A3,A4
  379. 0000044A  422D FB70                clr.b      [A5 - 0x490]
  380. 0000044E  422E 0008                clr.b      [A6 + 0x8]
  381. 00000452  49ED FCF2                lea.l      A4, [A5 - 0x30E]
  382. 00000456  47FA 00B6                lea.l      A3, [PC + 0xB6 /* 0000050E, value 0x10544C55, pstring "TLUAFED & TROPER" */]
  383. 0000045A  4247                     clr.w      D7
  384. 0000045C  1E13                     move.b     D7, [A3]
  385. label0000045E:
  386. 0000045E  18DB                     move.b     [A4]+, [A3]+
  387. 00000460  51CF FFFC                dbf        D7, -0x6 /* 0000045E */
  388. 00000464  558F                     subq.l     A7, 2
  389. 00000466  486D FCF2                pea.l      [A5 - 0x30E]
  390. 0000046A  A997                     syscall    OpenResFile
  391. 0000046C  3E1F                     move.w     D7, [A7]+
  392. 0000046E  3B47 F2C8                move.w     [A5 - 0xD38], D7
  393. 00000472  0C6D 0000 F2C8           cmpi.w     [A5 - 0xD38], 0x0
  394. 00000478  6C00 001E                bge        +0x20 /* 00000498 */
  395. 0000047C  3F2D F2C8                move.w     -[A7], [A5 - 0xD38]
  396. 00000480  A99A                     syscall    CloseResFile
  397. 00000482  1D7C 0001 0008           move.b     [A6 + 0x8], 0x1
  398. 00000488  4EBA 0096                jsr        [PC + 0x96 /* 00000520 */]
  399. 0000048C  4A6D F2CC                tst.w      [A5 - 0xD34]
  400. 00000490  6700 0006                beq        +0x8 /* 00000498 */
  401. 00000494  4EFA 0070                jmp        [PC + 0x70 /* 00000506 */]
  402. label00000498:
  403. 00000498  558F                     subq.l     A7, 2
  404. 0000049A  486D FCF2                pea.l      [A5 - 0x30E]
  405. 0000049E  3F2D F2CA                move.w     -[A7], [A5 - 0xD36]
  406. 000004A2  486E FFF0                pea.l      [A6 - 0x10]
  407. 000004A6  4EAD 00B2                jsr        [A5 + 0xB2 /* export_18 */]
  408. 000004AA  3E1F                     move.w     D7, [A7]+
  409. 000004AC  3B47 F2CC                move.w     [A5 - 0xD34], D7
  410. 000004B0  558F                     subq.l     A7, 2
  411. 000004B2  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  412. 000004B6  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  413. 000004BA  1E1F                     move.b     D7, [A7]+
  414. 000004BC  6700 0006                beq        +0x8 /* 000004C4 */
  415. 000004C0  4EFA 0044                jmp        [PC + 0x44 /* 00000506 */]
  416. label000004C4:
  417. 000004C4  0C6E 4000 FFF8           cmpi.w     [A6 - 0x8], 0x4000 /* '@\0' */
  418. 000004CA  6700 003A                beq        +0x3C /* 00000506 */
  419. 000004CE  3F2D F2C8                move.w     -[A7], [A5 - 0xD38]
  420. 000004D2  A99A                     syscall    CloseResFile
  421. 000004D4  558F                     subq.l     A7, 2
  422. 000004D6  486D FCF2                pea.l      [A5 - 0x30E]
  423. 000004DA  3F2D F2CA                move.w     -[A7], [A5 - 0xD36]
  424. 000004DE  4EAD 0092                jsr        [A5 + 0x92 /* export_14 */]
  425. 000004E2  3E1F                     move.w     D7, [A7]+
  426. 000004E4  3B47 F2CC                move.w     [A5 - 0xD34], D7
  427. 000004E8  558F                     subq.l     A7, 2
  428. 000004EA  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  429. 000004EE  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  430. 000004F2  1E1F                     move.b     D7, [A7]+
  431. 000004F4  6700 0006                beq        +0x8 /* 000004FC */
  432. 000004F8  4EFA 000C                jmp        [PC + 0xC /* 00000506 */]
  433. label000004FC:
  434. 000004FC  1D7C 0001 0008           move.b     [A6 + 0x8], 0x1
  435. 00000502  4EBA 001C                jsr        [PC + 0x1C /* 00000520 */]
  436. label00000506:
  437. 00000506  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  438. 0000050A  4E5E                     unlink     A6
  439. 0000050C  4E75                     rts
  440. 0000050E  1054                     movea.b    A0, [A4]
  441. 00000510  4C55 4146                movem.l    D1,D2,D6,A0,A6, [A5]
  442. 00000514  4544                     chk.w      D2, D4
  443. 00000516  2026                     move.l     D0, -[A6]
  444. 00000518  2054                     movea.l    A0, [A4]
  445. 0000051A  524F                     addq.w     A7, 1
  446. 0000051C  5045                     addq.w     D5, 8
  447. 0000051E  5200                     addq.b     D0, 1
  448. fn00000520:
  449. 00000520  4E56 FFE8                link       A6, -0x0018
  450. 00000524  48E7 0100                movem.l    -[A7], D7
  451. 00000528  558F                     subq.l     A7, 2
  452. 0000052A  42A7                     clr.l      -[A7]
  453. 0000052C  3F2D F2CA                move.w     -[A7], [A5 - 0xD36]
  454. 00000530  4EAD 00A2                jsr        [A5 + 0xA2 /* export_16 */]
  455. 00000534  3E1F                     move.w     D7, [A7]+
  456. 00000536  3B47 F2CC                move.w     [A5 - 0xD34], D7
  457. 0000053A  558F                     subq.l     A7, 2
  458. 0000053C  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  459. 00000540  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  460. 00000544  1E1F                     move.b     D7, [A7]+
  461. 00000546  6700 0006                beq        +0x8 /* 0000054E */
  462. 0000054A  4EFA 015E                jmp        [PC + 0x15E /* 000006AA */]
  463. label0000054E:
  464. 0000054E  486D FCF2                pea.l      [A5 - 0x30E]
  465. 00000552  A9B1                     syscall    CreateResFile
  466. 00000554  558F                     subq.l     A7, 2
  467. 00000556  A9AF                     syscall    ResError
  468. 00000558  3E1F                     move.w     D7, [A7]+
  469. 0000055A  3B47 F2CC                move.w     [A5 - 0xD34], D7
  470. 0000055E  0C6D FFD5 F2CC           cmpi.w     [A5 - 0xD34], 0xFFD5
  471. 00000564  6600 0008                bne        +0xA /* 0000056E */
  472. 00000568  3B7C FFD4 F2CC           move.w     [A5 - 0xD34], 0xFFD4
  473. label0000056E:
  474. 0000056E  558F                     subq.l     A7, 2
  475. 00000570  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  476. 00000574  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  477. 00000578  1E1F                     move.b     D7, [A7]+
  478. 0000057A  6700 0006                beq        +0x8 /* 00000582 */
  479. 0000057E  4EFA 012A                jmp        [PC + 0x12A /* 000006AA */]
  480. label00000582:
  481. 00000582  558F                     subq.l     A7, 2
  482. 00000584  42A7                     clr.l      -[A7]
  483. 00000586  3F2D F2CA                move.w     -[A7], [A5 - 0xD36]
  484. 0000058A  4EAD 009A                jsr        [A5 + 0x9A /* export_15 */]
  485. 0000058E  3E1F                     move.w     D7, [A7]+
  486. 00000590  3B47 F2CC                move.w     [A5 - 0xD34], D7
  487. 00000594  558F                     subq.l     A7, 2
  488. 00000596  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  489. 0000059A  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  490. 0000059E  1E1F                     move.b     D7, [A7]+
  491. 000005A0  6700 0006                beq        +0x8 /* 000005A8 */
  492. 000005A4  4EFA 0104                jmp        [PC + 0x104 /* 000006AA */]
  493. label000005A8:
  494. 000005A8  558F                     subq.l     A7, 2
  495. 000005AA  486D FCF2                pea.l      [A5 - 0x30E]
  496. 000005AE  3F2D F2CA                move.w     -[A7], [A5 - 0xD36]
  497. 000005B2  486E FFF0                pea.l      [A6 - 0x10]
  498. 000005B6  4EAD 00B2                jsr        [A5 + 0xB2 /* export_18 */]
  499. 000005BA  3E1F                     move.w     D7, [A7]+
  500. 000005BC  3B47 F2CC                move.w     [A5 - 0xD34], D7
  501. 000005C0  558F                     subq.l     A7, 2
  502. 000005C2  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  503. 000005C6  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  504. 000005CA  1E1F                     move.b     D7, [A7]+
  505. 000005CC  6700 0006                beq        +0x8 /* 000005D4 */
  506. 000005D0  4EFA 00D8                jmp        [PC + 0xD8 /* 000006AA */]
  507. label000005D4:
  508. 000005D4  3D7C 4000 FFF8           move.w     [A6 - 0x8], 0x4000 /* '@\0' */
  509. 000005DA  558F                     subq.l     A7, 2
  510. 000005DC  486D FCF2                pea.l      [A5 - 0x30E]
  511. 000005E0  3F2D F2CA                move.w     -[A7], [A5 - 0xD36]
  512. 000005E4  486E FFF0                pea.l      [A6 - 0x10]
  513. 000005E8  4EAD 008A                jsr        [A5 + 0x8A /* export_13 */]
  514. 000005EC  3E1F                     move.w     D7, [A7]+
  515. 000005EE  3B47 F2CC                move.w     [A5 - 0xD34], D7
  516. 000005F2  558F                     subq.l     A7, 2
  517. 000005F4  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  518. 000005F8  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  519. 000005FC  1E1F                     move.b     D7, [A7]+
  520. 000005FE  6700 0006                beq        +0x8 /* 00000606 */
  521. 00000602  4EFA 00A6                jmp        [PC + 0xA6 /* 000006AA */]
  522. label00000606:
  523. 00000606  558F                     subq.l     A7, 2
  524. 00000608  486D FCF2                pea.l      [A5 - 0x30E]
  525. 0000060C  A997                     syscall    OpenResFile
  526. 0000060E  3E1F                     move.w     D7, [A7]+
  527. 00000610  3B47 F2C8                move.w     [A5 - 0xD38], D7
  528. 00000614  3F2D F2C8                move.w     -[A7], [A5 - 0xD38]
  529. 00000618  A998                     syscall    UseResFile
  530. 0000061A  598F                     subq.l     A7, 4
  531. 0000061C  2F3A 00AA                move.l     -[A7], [PC + 0xAA /* 000006C8, value 0x44464C54 'DFLT' */]
  532. 00000620  3F3C 03E9                move.w     -[A7], 0x3E9
  533. 00000624  A9A0                     syscall    GetResource
  534. 00000626  2E1F                     move.l     D7, [A7]+
  535. 00000628  2B47 F2BC                move.l     [A5 - 0xD44], D7
  536. 0000062C  2F2D F2BC                move.l     -[A7], [A5 - 0xD44]
  537. 00000630  4EAD 00D2                jsr        [A5 + 0xD2 /* export_22 */]
  538. 00000634  2F2D F2BC                move.l     -[A7], [A5 - 0xD44]
  539. 00000638  A992                     syscall    DetachResource
  540. 0000063A  598F                     subq.l     A7, 4
  541. 0000063C  487A 0088                pea.l      [PC + 0x88 /* 000006C6, value 0x4446 'DF', cstring "" */]
  542. 00000640  A906                     syscall    NewString
  543. 00000642  2E1F                     move.l     D7, [A7]+
  544. 00000644  2D47 FFEC                move.l     [A6 - 0x14], D7
  545. 00000648  598F                     subq.l     A7, 4
  546. 0000064A  487A 0078                pea.l      [PC + 0x78 /* 000006C4, value 0x0, cstring "" */]
  547. 0000064E  A906                     syscall    NewString
  548. 00000650  2E1F                     move.l     D7, [A7]+
  549. 00000652  2D47 FFE8                move.l     [A6 - 0x18], D7
  550. 00000656  2F2D F2BC                move.l     -[A7], [A5 - 0xD44]
  551. 0000065A  2F3A 0064                move.l     -[A7], [PC + 0x64 /* 000006C0, value 0x44464C54 'DFLT', cstring "DFLT" */]
  552. 0000065E  3F3C 03E8                move.w     -[A7], 0x3E8
  553. 00000662  487A 005A                pea.l      [PC + 0x5A /* 000006BE, value 0x4446 'DF', cstring "" */]
  554. 00000666  A9AB                     syscall    AddResource
  555. 00000668  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  556. 0000066C  2F3A 004C                move.l     -[A7], [PC + 0x4C /* 000006BA, value 0x53545220 'STR ', cstring "STR " */]
  557. 00000670  3F3C 03E8                move.w     -[A7], 0x3E8
  558. 00000674  487A 0042                pea.l      [PC + 0x42 /* 000006B8, value 0x5354 'ST', cstring "" */]
  559. 00000678  A9AB                     syscall    AddResource
  560. 0000067A  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  561. 0000067E  2F3A 0034                move.l     -[A7], [PC + 0x34 /* 000006B4, value 0x53545220 'STR ', cstring "STR " */]
  562. 00000682  3F3C 03E9                move.w     -[A7], 0x3E9
  563. 00000686  487A 002A                pea.l      [PC + 0x2A /* 000006B2, value 0x5354 'ST', cstring "" */]
  564. 0000068A  A9AB                     syscall    AddResource
  565. 0000068C  2F2D F2BC                move.l     -[A7], [A5 - 0xD44]
  566. 00000690  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  567. 00000694  A9A7                     syscall    SetResAttrs
  568. 00000696  2F2D F2BC                move.l     -[A7], [A5 - 0xD44]
  569. 0000069A  A9AA                     syscall    ChangedResource
  570. 0000069C  3F2D F2C8                move.w     -[A7], [A5 - 0xD38]
  571. 000006A0  A999                     syscall    UpdateResFile
  572. 000006A2  2F2D F2BC                move.l     -[A7], [A5 - 0xD44]
  573. 000006A6  4EAD 00DA                jsr        [A5 + 0xDA /* export_23 */]
  574. label000006AA:
  575. 000006AA  4CDF 0080                movem.l    D7, [A7]+
  576. 000006AE  4E5E                     unlink     A6
  577. 000006B0  4E75                     rts
  578. 000006B2  0000 5354                ori.b      D0, 0x54 /* 'T' */
  579. 000006B6  5220                     addq.b     -[A0], 1
  580. 000006B8  0000 5354                ori.b      D0, 0x54 /* 'T' */
  581. 000006BC  5220                     addq.b     -[A0], 1
  582. 000006BE  0000 4446                ori.b      D0, 0x46 /* 'F' */
  583. 000006C2  4C54 0000                movem.l    <none>, [A4]
  584. 000006C6  0000 4446                ori.b      D0, 0x46 /* 'F' */
  585. 000006CA  4C54 4E56                movem.l    D1,D2,D4,D6,A1,A2,A3,A6, [A4]
  586. // begin alternate branch 000006CC-000006D0
  587. fn000006CC:
  588. 000006CC  4E56 FFF8                link       A6, -0x0008
  589. // end alternate branch 000006CC-000006D0
  590. fn000006CC: // (misaligned)
  591. 000006CE  FFF8                     .invalid   <<F/7/7>>
  592. 000006D0  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  593. 000006D4  3F2D F2C8                move.w     -[A7], [A5 - 0xD38]
  594. 000006D8  A998                     syscall    UseResFile
  595. 000006DA  598F                     subq.l     A7, 4
  596. 000006DC  3F3C 03E8                move.w     -[A7], 0x3E8
  597. 000006E0  42A7                     clr.l      -[A7]
  598. 000006E2  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  599. 000006E8  A9BD                     syscall    GetNewWindow
  600. 000006EA  2E1F                     move.l     D7, [A7]+
  601. 000006EC  2B47 F266                move.l     [A5 - 0xD9A], D7
  602. 000006F0  2F2D F266                move.l     -[A7], [A5 - 0xD9A]
  603. 000006F4  A915                     syscall    ShowWindow
  604. 000006F6  4247                     clr.w      D7
  605. 000006F8  1E2D FEF2                move.b     D7, [A5 - 0x10E]
  606. 000006FC  3F07                     move.w     -[A7], D7
  607. 000006FE  486D FEF3                pea.l      [A5 - 0x10D]
  608. 00000702  3F3C 0000                move.w     -[A7], 0x0
  609. 00000706  487A 01D0                pea.l      [PC + 0x1D0 /* 000008D8, value 0x4E56FFFA */]
  610. 0000070A  4EAD 010A                jsr        [A5 + 0x10A /* export_29 */]
  611. 0000070E  6700 0010                beq        +0x12 /* 00000720 */
  612. 00000712  2F2D F266                move.l     -[A7], [A5 - 0xD9A]
  613. 00000716  486D FEF2                pea.l      [A5 - 0x10E]
  614. 0000071A  A91A                     syscall    SetWTitle
  615. 0000071C  4EFA 000C                jmp        [PC + 0xC /* 0000072A */]
  616. label00000720:
  617. 00000720  2F2D F266                move.l     -[A7], [A5 - 0xD9A]
  618. 00000724  486D FEF2                pea.l      [A5 - 0x10E]
  619. 00000728  A919                     syscall    GetWTitle
  620. label0000072A:
  621. 0000072A  2F2D F266                move.l     -[A7], [A5 - 0xD9A]
  622. 0000072E  A873                     syscall    SetPort
  623. 00000730  4267                     clr.w      -[A7]
  624. 00000732  A887                     syscall    TextFont
  625. 00000734  3F3C 000C                move.w     -[A7], 0xC
  626. 00000738  A88A                     syscall    TextSize
  627. 0000073A  3F3C 0001                move.w     -[A7], 0x1
  628. 0000073E  A889                     syscall    TextMode
  629. 00000740  486D F1D4                pea.l      [A5 - 0xE2C]
  630. 00000744  4EAD 00C2                jsr        [A5 + 0xC2 /* export_20 */]
  631. 00000748  486D FB60                pea.l      [A5 - 0x4A0]
  632. 0000074C  3F3C 0172                move.w     -[A7], 0x172
  633. 00000750  3F3C 0104                move.w     -[A7], 0x104
  634. 00000754  3F3C 01EA                move.w     -[A7], 0x1EA
  635. 00000758  3F3C 012C                move.w     -[A7], 0x12C
  636. 0000075C  A8A7                     syscall    SetRect
  637. 0000075E  486D FB58                pea.l      [A5 - 0x4A8]
  638. 00000762  3F3C 0002                move.w     -[A7], 0x2
  639. 00000766  3F3C 0002                move.w     -[A7], 0x2
  640. 0000076A  3F3C 0169                move.w     -[A7], 0x169
  641. 0000076E  3F3C 0121                move.w     -[A7], 0x121
  642. 00000772  A8A7                     syscall    SetRect
  643. 00000774  3E3C 0000                move.w     D7, 0x0
  644. 00000778  0C47 0001                cmpi.w     D7, 0x1
  645. 0000077C  6E00 0046                bgt        +0x48 /* 000007C4 */
  646. label00000780:
  647. 00000780  3C07                     move.w     D6, D7
  648. 00000782  CDFC 0090                muls.w     D6, 0x90
  649. 00000786  5846                     addq.w     D6, 4
  650. 00000788  3D46 FFFE                move.w     [A6 - 0x2], D6
  651. 0000078C  3C07                     move.w     D6, D7
  652. 0000078E  5246                     addq.w     D6, 1
  653. 00000790  5346                     subq.w     D6, 1
  654. 00000792  CDFC 0012                muls.w     D6, 0x12
  655. 00000796  49ED F6A6                lea.l      A4, [A5 - 0x95A]
  656. 0000079A  4874 6002                pea.l      [A4 + D6.w + 0x2]
  657. 0000079E  3F3C 0178                move.w     -[A7], 0x178
  658. 000007A2  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  659. 000007A6  3F3C 01E6                move.w     -[A7], 0x1E6
  660. 000007AA  3A2E FFFE                move.w     D5, [A6 - 0x2]
  661. 000007AE  0645 0044                addi.w     D5, 0x44 /* 'D' */
  662. 000007B2  3F05                     move.w     -[A7], D5
  663. 000007B4  A8A7                     syscall    SetRect
  664. 000007B6  0C47 0001                cmpi.w     D7, 0x1
  665. 000007BA  6C00 0008                bge        +0xA /* 000007C4 */
  666. 000007BE  5247                     addq.w     D7, 1
  667. 000007C0  4EFA FFBE                jmp        [PC - 0x42 /* 00000780 */]
  668. label000007C4:
  669. 000007C4  3E3C 0001                move.w     D7, 0x1
  670. 000007C8  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  671. 000007CC  6E00 0066                bgt        +0x68 /* 00000834 */
  672. label000007D0:
  673. 000007D0  3C07                     move.w     D6, D7
  674. 000007D2  5346                     subq.w     D6, 1
  675. 000007D4  48C6                     ext.l      D6
  676. 000007D6  8DFC 000A                divs.w     D6, 0xA /* '\n' */
  677. 000007DA  4846                     swap.w     D6
  678. 000007DC  CDFC 0024                muls.w     D6, 0x24 /* '$' */
  679. 000007E0  5846                     addq.w     D6, 4
  680. 000007E2  3D46 FFFE                move.w     [A6 - 0x2], D6
  681. 000007E6  3C07                     move.w     D6, D7
  682. 000007E8  5346                     subq.w     D6, 1
  683. 000007EA  48C6                     ext.l      D6
  684. 000007EC  8DFC 000A                divs.w     D6, 0xA /* '\n' */
  685. 000007F0  CDFC 0024                muls.w     D6, 0x24 /* '$' */
  686. 000007F4  5846                     addq.w     D6, 4
  687. 000007F6  3D46 FFFC                move.w     [A6 - 0x4], D6
  688. 000007FA  3C07                     move.w     D6, D7
  689. 000007FC  5346                     subq.w     D6, 1
  690. 000007FE  E74E                     lsl        D6.w, 3
  691. 00000800  49ED F422                lea.l      A4, [A5 - 0xBDE]
  692. 00000804  4874 6000                pea.l      [A4 + D6.w]
  693. 00000808  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  694. 0000080C  3F2E FFFC                move.w     -[A7], [A6 - 0x4]
  695. 00000810  3C2E FFFE                move.w     D6, [A6 - 0x2]
  696. 00000814  0646 0020                addi.w     D6, 0x20 /* ' ' */
  697. 00000818  3F06                     move.w     -[A7], D6
  698. 0000081A  3C2E FFFC                move.w     D6, [A6 - 0x4]
  699. 0000081E  0646 0020                addi.w     D6, 0x20 /* ' ' */
  700. 00000822  3F06                     move.w     -[A7], D6
  701. 00000824  A8A7                     syscall    SetRect
  702. 00000826  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  703. 0000082A  6C00 0008                bge        +0xA /* 00000834 */
  704. 0000082E  5247                     addq.w     D7, 1
  705. 00000830  4EFA FF9E                jmp        [PC - 0x62 /* 000007D0 */]
  706. label00000834:
  707. 00000834  A8DA                     syscall    OpenRgn
  708. 00000836  286D F266                movea.l    A4, [A5 - 0xD9A]
  709. 0000083A  486C 0010                pea.l      [A4 + 0x10]
  710. 0000083E  A8A1                     syscall    FrameRect
  711. 00000840  3E3C 0001                move.w     D7, 0x1
  712. 00000844  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  713. 00000848  6E00 0020                bgt        +0x22 /* 0000086A */
  714. label0000084C:
  715. 0000084C  3C07                     move.w     D6, D7
  716. 0000084E  5346                     subq.w     D6, 1
  717. 00000850  E74E                     lsl        D6.w, 3
  718. 00000852  49ED F422                lea.l      A4, [A5 - 0xBDE]
  719. 00000856  4874 6000                pea.l      [A4 + D6.w]
  720. 0000085A  A8A1                     syscall    FrameRect
  721. 0000085C  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  722. 00000860  6C00 0008                bge        +0xA /* 0000086A */
  723. 00000864  5247                     addq.w     D7, 1
  724. 00000866  4EFA FFE4                jmp        [PC - 0x1C /* 0000084C */]
  725. label0000086A:
  726. 0000086A  2F2D F28A                move.l     -[A7], [A5 - 0xD76]
  727. 0000086E  A8DB                     syscall    CloseRgn
  728. 00000870  598F                     subq.l     A7, 4
  729. 00000872  2F3A 0060                move.l     -[A7], [PC + 0x60 /* 000008D4, value 0x414D564C 'AMVL' */]
  730. 00000876  3F3C 03E8                move.w     -[A7], 0x3E8
  731. 0000087A  A9A0                     syscall    GetResource
  732. 0000087C  2E1F                     move.l     D7, [A7]+
  733. 0000087E  2B47 F2C0                move.l     [A5 - 0xD40], D7
  734. 00000882  598F                     subq.l     A7, 4
  735. 00000884  3F3C 03EB                move.w     -[A7], 0x3EB
  736. 00000888  A9BA                     syscall    GetString
  737. 0000088A  2E1F                     move.l     D7, [A7]+
  738. 0000088C  2B47 F412                move.l     [A5 - 0xBEE], D7
  739. 00000890  598F                     subq.l     A7, 4
  740. 00000892  3F3C 03E8                move.w     -[A7], 0x3E8
  741. 00000896  A9BA                     syscall    GetString
  742. 00000898  2E1F                     move.l     D7, [A7]+
  743. 0000089A  2B47 F416                move.l     [A5 - 0xBEA], D7
  744. 0000089E  598F                     subq.l     A7, 4
  745. 000008A0  3F3C 03EA                move.w     -[A7], 0x3EA
  746. 000008A4  A9BA                     syscall    GetString
  747. 000008A6  2E1F                     move.l     D7, [A7]+
  748. 000008A8  2B47 F41A                move.l     [A5 - 0xBE6], D7
  749. 000008AC  598F                     subq.l     A7, 4
  750. 000008AE  3F3C 03E9                move.w     -[A7], 0x3E9
  751. 000008B2  A9BA                     syscall    GetString
  752. 000008B4  2E1F                     move.l     D7, [A7]+
  753. 000008B6  2B47 F41E                move.l     [A5 - 0xBE2], D7
  754. 000008BA  598F                     subq.l     A7, 4
  755. 000008BC  3F3C 03EC                move.w     -[A7], 0x3EC
  756. 000008C0  A9BA                     syscall    GetString
  757. 000008C2  2E1F                     move.l     D7, [A7]+
  758. 000008C4  2B47 F2C4                move.l     [A5 - 0xD3C], D7
  759. 000008C8  426D F2A6                clr.w      [A5 - 0xD5A]
  760. 000008CC  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  761. 000008D0  4E5E                     unlink     A6
  762. 000008D2  4E75                     rts
  763. 000008D4  414D                     chk.w      D0, A5
  764. 000008D6  564C                     addq.w     A4, 3
  765. fn000008D8:
  766. 000008D8  4E56 FFFA                link       A6, -0x0006
  767. 000008DC  48E7 0308                movem.l    -[A7], D6,D7,A4
  768. 000008E0  3F2D F2C8                move.w     -[A7], [A5 - 0xD38]
  769. 000008E4  A998                     syscall    UseResFile
  770. 000008E6  598F                     subq.l     A7, 4
  771. 000008E8  2F3A 00F4                move.l     -[A7], [PC + 0xF4 /* 000009DE, value 0x47524550 'GREP', cstring "GREPNV" */]
  772. 000008EC  486D FEF2                pea.l      [A5 - 0x10E]
  773. 000008F0  A9A1                     syscall    GetNamedResource
  774. 000008F2  2E1F                     move.l     D7, [A7]+
  775. 000008F4  2B47 F2B8                move.l     [A5 - 0xD48], D7
  776. 000008F8  558F                     subq.l     A7, 2
  777. 000008FA  A9AF                     syscall    ResError
  778. 000008FC  3E1F                     move.w     D7, [A7]+
  779. 000008FE  4A47                     tst.w      D7
  780. 00000900  56C7                     sne        D7
  781. 00000902  4407                     neg.b      D7
  782. 00000904  4AAD F2B8                tst.l      [A5 - 0xD48]
  783. 00000908  57C6                     seq        D6
  784. 0000090A  4406                     neg.b      D6
  785. 0000090C  8C07                     or.b       D6, D7
  786. 0000090E  6700 00BA                beq        +0xBC /* 000009CA */
  787. 00000912  598F                     subq.l     A7, 4
  788. 00000914  2F3C 0000 015E           move.l     -[A7], 0x15E
  789. 0000091A  4EAD 00F2                jsr        [A5 + 0xF2 /* export_26 */]
  790. 0000091E  2E1F                     move.l     D7, [A7]+
  791. 00000920  2B47 F2B8                move.l     [A5 - 0xD48], D7
  792. 00000924  2F2D F2B8                move.l     -[A7], [A5 - 0xD48]
  793. 00000928  4EAD 00EA                jsr        [A5 + 0xEA /* export_25 */]
  794. 0000092C  4EAD 01D2                jsr        [A5 + 0x1D2 /* export_54 */]
  795. 00000930  4EAD 01CA                jsr        [A5 + 0x1CA /* export_53 */]
  796. 00000934  286D F2B8                movea.l    A4, [A5 - 0xD48]
  797. 00000938  2854                     movea.l    A4, [A4]
  798. 0000093A  197C 0001 0007           move.b     [A4 + 0x7], 0x1
  799. 00000940  197C 0001 0006           move.b     [A4 + 0x6], 0x1
  800. 00000946  558F                     subq.l     A7, 2
  801. 00000948  2F3A 0090                move.l     -[A7], [PC + 0x90 /* 000009DA, value 0x47524550 'GREP', cstring "GREPGREPNV" */]
  802. 0000094C  A9C1                     syscall    UniqueID
  803. 0000094E  3E1F                     move.w     D7, [A7]+
  804. 00000950  3D47 FFFA                move.w     [A6 - 0x6], D7
  805. 00000954  2F2D F2B8                move.l     -[A7], [A5 - 0xD48]
  806. 00000958  2F3A 007C                move.l     -[A7], [PC + 0x7C /* 000009D6, value 0x47524550 'GREP', cstring "GREPGREPGREPNV" */]
  807. 0000095C  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  808. 00000960  486D FEF2                pea.l      [A5 - 0x10E]
  809. 00000964  A9AB                     syscall    AddResource
  810. 00000966  558F                     subq.l     A7, 2
  811. 00000968  A9AF                     syscall    ResError
  812. 0000096A  3E1F                     move.w     D7, [A7]+
  813. 0000096C  3B47 F2CC                move.w     [A5 - 0xD34], D7
  814. 00000970  558F                     subq.l     A7, 2
  815. 00000972  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  816. 00000976  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  817. 0000097A  1E1F                     move.b     D7, [A7]+
  818. 0000097C  6700 0006                beq        +0x8 /* 00000984 */
  819. 00000980  4EFA 004C                jmp        [PC + 0x4C /* 000009CE */]
  820. label00000984:
  821. 00000984  3F2D F2C8                move.w     -[A7], [A5 - 0xD38]
  822. 00000988  A999                     syscall    UpdateResFile
  823. 0000098A  558F                     subq.l     A7, 2
  824. 0000098C  A9AF                     syscall    ResError
  825. 0000098E  3E1F                     move.w     D7, [A7]+
  826. 00000990  3B47 F2CC                move.w     [A5 - 0xD34], D7
  827. 00000994  558F                     subq.l     A7, 2
  828. 00000996  3F2D F2CC                move.w     -[A7], [A5 - 0xD34]
  829. 0000099A  4EAD 0242                jsr        [A5 + 0x242 /* export_68 */]
  830. 0000099E  1E1F                     move.b     D7, [A7]+
  831. 000009A0  6700 0006                beq        +0x8 /* 000009A8 */
  832. 000009A4  4EFA 0028                jmp        [PC + 0x28 /* 000009CE */]
  833. label000009A8:
  834. 000009A8  2F2D F2B8                move.l     -[A7], [A5 - 0xD48]
  835. 000009AC  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  836. 000009B0  A9A7                     syscall    SetResAttrs
  837. 000009B2  2F2D F2B8                move.l     -[A7], [A5 - 0xD48]
  838. 000009B6  A9AA                     syscall    ChangedResource
  839. 000009B8  2F2D F2B8                move.l     -[A7], [A5 - 0xD48]
  840. 000009BC  4EAD 00E2                jsr        [A5 + 0xE2 /* export_24 */]
  841. 000009C0  1D7C 0001 0008           move.b     [A6 + 0x8], 0x1
  842. 000009C6  4EFA 0006                jmp        [PC + 0x6 /* 000009CE */]
  843. label000009CA:
  844. 000009CA  422E 0008                clr.b      [A6 + 0x8]
  845. label000009CE:
  846. 000009CE  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  847. 000009D2  4E5E                     unlink     A6
  848. 000009D4  4E75                     rts
  849. 000009D6  4752                     chk.w      D3, [A2]
  850. 000009D8  4550                     chk.w      D2, [A0]
  851. 000009DA  4752                     chk.w      D3, [A2]
  852. 000009DC  4550                     chk.w      D2, [A0]
  853. 000009DE  4752                     chk.w      D3, [A2]
  854. 000009E0  4550                     chk.w      D2, [A0]
  855. fn000009E2:
  856. 000009E2  4E56 0000                link       A6, 0
  857. 000009E6  48E7 0108                movem.l    -[A7], D7,A4
  858. 000009EA  598F                     subq.l     A7, 4
  859. 000009EC  2F3A 00BE                move.l     -[A7], [PC + 0xBE /* 00000AAC, value 0x44464C54 'DFLT' */]
  860. 000009F0  3F3C 03E8                move.w     -[A7], 0x3E8
  861. 000009F4  A9A0                     syscall    GetResource
  862. 000009F6  2E1F                     move.l     D7, [A7]+
  863. 000009F8  2B47 F2BC                move.l     [A5 - 0xD44], D7
  864. 000009FC  2F2D F2BC                move.l     -[A7], [A5 - 0xD44]
  865. 00000A00  4EAD 00EA                jsr        [A5 + 0xEA /* export_25 */]
  866. 00000A04  1B7C 0003 FB70           move.b     [A5 - 0x490], 0x3
  867. 00000A0A  286D F2BC                movea.l    A4, [A5 - 0xD44]
  868. 00000A0E  2854                     movea.l    A4, [A4]
  869. 00000A10  1B6C 001A FB94           move.b     [A5 - 0x46C], [A4 + 0x1A]
  870. 00000A16  1B6C 001B FB92           move.b     [A5 - 0x46E], [A4 + 0x1B]
  871. 00000A1C  1B6C 001C FB96           move.b     [A5 - 0x46A], [A4 + 0x1C]
  872. 00000A22  1B6C 001D FB98           move.b     [A5 - 0x468], [A4 + 0x1D]
  873. 00000A28  1B6C 0005 FB9C           move.b     [A5 - 0x464], [A4 + 0x5]
  874. 00000A2E  3B6C 0014 FB78           move.w     [A5 - 0x488], [A4 + 0x14]
  875. 00000A34  1B6C 0004 FB9A           move.b     [A5 - 0x466], [A4 + 0x4]
  876. 00000A3A  2B6C 0008 FB86           move.l     [A5 - 0x47A], [A4 + 0x8]
  877. 00000A40  2B6C 000C FFF2           move.l     [A5 - 0xE], [A4 + 0xC]
  878. 00000A46  2B6C 0010 FFF6           move.l     [A5 - 0xA], [A4 + 0x10]
  879. 00000A4C  3B6C 0016 FB76           move.w     [A5 - 0x48A], [A4 + 0x16]
  880. 00000A52  3B6C 0018 FFFA           move.w     [A5 - 0x6], [A4 + 0x18]
  881. 00000A58  3B6C 0002 FB72           move.w     [A5 - 0x48E], [A4 + 0x2]
  882. 00000A5E  3B54 FB74                move.w     [A5 - 0x48C], [A4]
  883. 00000A62  3F2D FB74                move.w     -[A7], [A5 - 0x48C]
  884. 00000A66  4EAD 01FA                jsr        [A5 + 0x1FA /* export_59 */]
  885. 00000A6A  4EAD 01EA                jsr        [A5 + 0x1EA /* export_57 */]
  886. 00000A6E  4EAD 026A                jsr        [A5 + 0x26A /* export_73 */]
  887. 00000A72  0C6D 0008 FB76           cmpi.w     [A5 - 0x48A], 0x8
  888. 00000A78  6F00 0022                ble        +0x24 /* 00000A9C */
  889. 00000A7C  3B7C 0004 FB76           move.w     [A5 - 0x48A], 0x4
  890. 00000A82  422D FB9A                clr.b      [A5 - 0x466]
  891. 00000A86  1B7C 0001 FB9C           move.b     [A5 - 0x464], 0x1
  892. 00000A8C  2F2D F2BC                move.l     -[A7], [A5 - 0xD44]
  893. 00000A90  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  894. 00000A94  A9A7                     syscall    SetResAttrs
  895. 00000A96  2F2D F2BC                move.l     -[A7], [A5 - 0xD44]
  896. 00000A9A  A9AA                     syscall    ChangedResource
  897. label00000A9C:
  898. 00000A9C  2F2D F2BC                move.l     -[A7], [A5 - 0xD44]
  899. 00000AA0  4EAD 00E2                jsr        [A5 + 0xE2 /* export_24 */]
  900. 00000AA4  4CDF 1080                movem.l    D7,A4, [A7]+
  901. 00000AA8  4E5E                     unlink     A6
  902. 00000AAA  4E75                     rts
  903. 00000AAC  4446                     neg.w      D6
  904. 00000AAE  4C54 4E56                movem.l    D1,D2,D4,D6,A1,A2,A3,A6, [A4]
  905. // begin alternate branch 00000AB0-00000AB4
  906. fn00000AB0:
  907. 00000AB0  4E56 FFFE                link       A6, -0x0002
  908. // end alternate branch 00000AB0-00000AB4
  909. fn00000AB0: // (misaligned)
  910. 00000AB2  FFFE                     .invalid   <<F/7/7>>
  911. 00000AB4  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  912. 00000AB8  4EAD 018A                jsr        [A5 + 0x18A /* export_45 */]
  913. 00000ABC  3E3C 0001                move.w     D7, 0x1
  914. 00000AC0  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  915. 00000AC4  6E00 004E                bgt        +0x50 /* 00000B14 */
  916. label00000AC8:
  917. 00000AC8  3C07                     move.w     D6, D7
  918. 00000ACA  5346                     subq.w     D6, 1
  919. 00000ACC  E74E                     lsl        D6.w, 3
  920. 00000ACE  49ED F422                lea.l      A4, [A5 - 0xBDE]
  921. 00000AD2  4874 6000                pea.l      [A4 + D6.w]
  922. 00000AD6  2F2D F2CE                move.l     -[A7], [A5 - 0xD32]
  923. 00000ADA  A94B                     syscall    PlotIcon
  924. 00000ADC  3C07                     move.w     D6, D7
  925. 00000ADE  5346                     subq.w     D6, 1
  926. 00000AE0  DC46                     add.w      D6, D6
  927. 00000AE2  49ED F798                lea.l      A4, [A5 - 0x868]
  928. 00000AE6  4274 6000                clr.w      [A4 + D6.w]
  929. 00000AEA  3C07                     move.w     D6, D7
  930. 00000AEC  5346                     subq.w     D6, 1
  931. 00000AEE  DC46                     add.w      D6, D6
  932. 00000AF0  49ED F838                lea.l      A4, [A5 - 0x7C8]
  933. 00000AF4  4274 6000                clr.w      [A4 + D6.w]
  934. 00000AF8  3C07                     move.w     D6, D7
  935. 00000AFA  5346                     subq.w     D6, 1
  936. 00000AFC  DC46                     add.w      D6, D6
  937. 00000AFE  49ED F6F8                lea.l      A4, [A5 - 0x908]
  938. 00000B02  3987 6000                move.w     [A4 + D6.w], D7
  939. 00000B06  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  940. 00000B0A  6C00 0008                bge        +0xA /* 00000B14 */
  941. 00000B0E  5247                     addq.w     D7, 1
  942. 00000B10  4EFA FFB6                jmp        [PC - 0x4A /* 00000AC8 */]
  943. label00000B14:
  944. 00000B14  4EAD 0192                jsr        [A5 + 0x192 /* export_46 */]
  945. 00000B18  3E3C 0001                move.w     D7, 0x1
  946. 00000B1C  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  947. 00000B20  6E00 0046                bgt        +0x48 /* 00000B68 */
  948. label00000B24:
  949. 00000B24  3C07                     move.w     D6, D7
  950. 00000B26  5346                     subq.w     D6, 1
  951. 00000B28  DC46                     add.w      D6, D6
  952. 00000B2A  49ED F6F8                lea.l      A4, [A5 - 0x908]
  953. 00000B2E  3A34 6000                move.w     D5, [A4 + D6.w]
  954. 00000B32  5345                     subq.w     D5, 1
  955. 00000B34  E74D                     lsl        D5.w, 3
  956. 00000B36  49ED F422                lea.l      A4, [A5 - 0xBDE]
  957. 00000B3A  4874 5000                pea.l      [A4 + D5.w]
  958. 00000B3E  3C07                     move.w     D6, D7
  959. 00000B40  E54E                     lsl        D6.w, 2
  960. 00000B42  49ED F2CE                lea.l      A4, [A5 - 0xD32]
  961. 00000B46  2F34 6000                move.l     -[A7], [A4 + D6.w]
  962. 00000B4A  A94B                     syscall    PlotIcon
  963. 00000B4C  2F3C 0000 0001           move.l     -[A7], 0x1
  964. 00000B52  486D FB8A                pea.l      [A5 - 0x476]
  965. 00000B56  4EAD 00BA                jsr        [A5 + 0xBA /* export_19 */]
  966. 00000B5A  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  967. 00000B5E  6C00 0008                bge        +0xA /* 00000B68 */
  968. 00000B62  5247                     addq.w     D7, 1
  969. 00000B64  4EFA FFBE                jmp        [PC - 0x42 /* 00000B24 */]
  970. label00000B68:
  971. 00000B68  3E3C 0001                move.w     D7, 0x1
  972. 00000B6C  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  973. 00000B70  6E00 003E                bgt        +0x40 /* 00000BB0 */
  974. label00000B74:
  975. 00000B74  3C07                     move.w     D6, D7
  976. 00000B76  5346                     subq.w     D6, 1
  977. 00000B78  DC46                     add.w      D6, D6
  978. 00000B7A  49ED F6F8                lea.l      A4, [A5 - 0x908]
  979. 00000B7E  3A34 6000                move.w     D5, [A4 + D6.w]
  980. 00000B82  5345                     subq.w     D5, 1
  981. 00000B84  E74D                     lsl        D5.w, 3
  982. 00000B86  49ED F422                lea.l      A4, [A5 - 0xBDE]
  983. 00000B8A  4874 5000                pea.l      [A4 + D5.w]
  984. 00000B8E  2F2D F2CE                move.l     -[A7], [A5 - 0xD32]
  985. 00000B92  A94B                     syscall    PlotIcon
  986. 00000B94  2F3C 0000 0001           move.l     -[A7], 0x1
  987. 00000B9A  486D FB8A                pea.l      [A5 - 0x476]
  988. 00000B9E  4EAD 00BA                jsr        [A5 + 0xBA /* export_19 */]
  989. 00000BA2  0C47 0050                cmpi.w     D7, 0x50 /* 'P' */
  990. 00000BA6  6C00 0008                bge        +0xA /* 00000BB0 */
  991. 00000BAA  5247                     addq.w     D7, 1
  992. 00000BAC  4EFA FFC6                jmp        [PC - 0x3A /* 00000B74 */]
  993. label00000BB0:
  994. 00000BB0  4CDF 10E0                movem.l    D5,D6,D7,A4, [A7]+
  995. 00000BB4  4E5E                     unlink     A6
  996. 00000BB6  4E75                     rts
  997.